package com.yjhh.chdataservice.util;

/**
 * Created by lba on 2016/6/30.
 */
public class CommonResultData<T> extends BaseResultData {
    private T data;

    public CommonResultData(int resultCode,String comment,T data){
        setResultCode(resultCode);
        setComment(comment);
        this.data = data;
    }

    public CommonResultData(int resultCode, String comment) {
        super(resultCode, comment);
    }

    public T getData() {
        return data;
    }

    public void setData(T data) {
        this.data = data;
    }
}
